package com.zzedu.utils;

import java.util.List;

/**
 * 分页数据
 * @author Administrator
 */
public class PageData<T> {
    /**
     * 总记录
     */
    private Long total;

    /**
     * 明细数据
     */
    private List<T> rowData;

    public PageData(Long total, List<T> rowData) {
        this.total = total;
        this.rowData = rowData;
    }

    public PageData() {
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRowData() {
        return rowData;
    }

    public void setRowData(List<T> rowData) {
        this.rowData = rowData;
    }
}
